package com.springinaction.ch05.web;

import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author ssk
 * @Title: HomeController
 * @ProjectName SpringInAction
 * @Description: TODO
 * @date 18-12-7下午9:47
 */
@Controller
@RequestMapping("/")
public class HomeController {
    //@RequestMapping(value = "/", method = RequestMethod.GET)
    @RequestMapping(method = {RequestMethod.GET})
    public String home() {
        return "home";
    }
}
